package com.base.cn.platform.os.entity.manage.group;

import com.base.cn.platform.os.common.annotation.ImgAttr;
import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.common.mybatis.SqlExclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * 权限部门实体
 *
 * @author s.li
 * @create 2018-02-05 15:46
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysGroup extends BaseEntity {
    /**部门名*/
    private String groupName;
    /**部门描述*/
    @ImgAttr
    private String depict;
    /**部门父ID*/
    private BigDecimal parentId;

    //子级部门数据列表
    private List<SysGroup> childSysGroupList;
    /**权限ID串*/
    @SqlExclude
    private String functionIds;
}
